package com.enjoyor.soa.traffic.core.efoms.mapper;

import com.enjoyor.soa.traffic.core.efoms.domain.FileInfo;
import com.enjoyor.soa.traffic.frame.support.mybatis.mapper.IBaseMapper;

import java.util.List;

public interface IFileInfoMapper extends IBaseMapper<FileInfo> {

	/**
	 * 根据关联ID删除
	 * @param releteId
	 */
	void deleteFileByReleteId(String releteId);

	/**
	 * 根据关联ID查询附件列表
	 * @param releteId
	 * @return
	 */
	List<FileInfo> getFileListByReleteId (String releteId);

	/**
	 * 批量新增
	 * @param fileInfoList
	 */
	void insertFileBatch(List<FileInfo> fileInfoList);
}